package com.insigma.business.qrcode.common.util;


import com.insigma.business.qrcode.common.vo.ToString;

public class ErrorContext extends ToString {
    private static final long serialVersionUID = 1L;
    private String productionAppCode;
    private String scenarioCode;
    private String errorCode;
    private String errorMsg;

    public ErrorContext() {
    }

    public ErrorContext(String errorCode, String errorMsg) {
        this.errorCode = errorCode;
        this.errorMsg = errorMsg;
    }

    public ErrorContext(String productionAppCode, String scenarioCode, String errorCode, String errorMsg) {
        this.productionAppCode = productionAppCode;
        this.scenarioCode = scenarioCode;
        this.errorCode = errorCode;
        this.errorMsg = errorMsg;
    }

    public String getProductionAppCode() {
        return this.productionAppCode;
    }

    public String getScenarioCode() {
        return this.scenarioCode;
    }

    public String getErrorCode() {
        return this.errorCode;
    }

    public String getErrorMsg() {
        return this.errorMsg;
    }

    public void setProductionAppCode(String productionAppCode) {
        this.productionAppCode = productionAppCode;
    }

    public void setScenarioCode(String scenarioCode) {
        this.scenarioCode = scenarioCode;
    }

    public void setErrorCode(String errorCode) {
        this.errorCode = errorCode;
    }

    public void setErrorMsg(String errorMsg) {
        this.errorMsg = errorMsg;
    }
}
